doctype html
html(lang="en" ng-app="Netshell")
	head
		meta(charset="UTF-8")
		title Netshell
		link(rel="stylesheet" href="/assets/css/bootstrap.min.css")
		link(rel="stylesheet" href="/assets/css/site.css")
		link(rel="stylesheet" href="/assets/css/app.css")
		link(rel="stylesheet" href="/assets/css/animate.css")
	body(ng-controller="AppCtrl")
		nav.navbar.navbar-default.navbar-fixed-top(role="navigation")
			div.container-fluid
				div.navbar-header
					button.navbar-toggle(data-toggle="collapse" data-target="#navbar-main-collapse")
						span.sr-only Toggle navigation
						span.icon-bar
						span.icon-bar
						span.icon-bar
					a.navbar-brand(href="#") Netshell
				div.collapse.navbar-collapse#navbar-main-collapse
					ul.nav.navbar-nav
						li(ui-sref-active="active")
							a(ui-sref="projects") Projects
						li(ui-sref-active="active")
							a(ui-sref="people") People
						li(ui-sref-active="active")
							a(ui-sref="store") Store
						li(ui-sref-active="active")
							a(ui-sref="directory") Directory
					ul.nav.navbar-nav.navbar-right
						li.dropdown
							a.dropdown-toggle(href="javascript:void(0);" data-toggle="dropdown")
								| #{user} &nbsp;
								b.caret
							ul.dropdown-menu
								li(ui-sref-active="active")
									a(ui-sref="profile") Profile
								li
									a(href="/auth/logout") Log Out
		div#main(ng-class="{ min: sidebarVisible }")
			div(ui-view)
		aside(ng-show="SideModel.IsVisible")
			h3
				span Details
				button.btn.btn-default.btn-xs.place-right(ng-click="SideModel.Close()")
					span.glyphicon.glyphicon-remove
			div.holder(ng-include="SideModel.ViewUrl")
		script(src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.0/jquery.min.js")
		// script(src="//cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.10.0/ui-bootstrap-tpls.min.js")
		script(src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.15/angular.min.js")
		script(src="//cdnjs.cloudflare.com/ajax/libs/restangular/1.4.0/restangular.min.js")
		script(src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.16/angular-animate.min.js")
		script(src="//cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.8/angular-ui-router.min.js")
		script(src="/assets/js/bootstrap.min.js")
		script(src="/assets/js/app.js")
		script(src="/assets/js/services.js")
		script(src="/assets/js/controllers.js")